package exemples.corba.hello;

import org.omg.CORBA.ORB;

import exemples.corba.hello.HelloApp.HelloPOA;


class HelloImpl extends HelloPOA {
	private ORB orb;

	public void setORB(ORB orb_val) {
		orb = orb_val; 
	}

	// implement sayHello() method
	public String sayHello() {
		return "\nHello World!\n";
	}

	// implement shutdown() method
	public void shutdown() {
		orb.shutdown(false);
	}
}
